<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<link href="<?=base_url("templates/default")?>/css/index.css" rel="stylesheet" type="text/css" />
		<!--[if lt IE 9]-->
		<script src="<?=base_url("templates/default")?>/js/html5.js"></script>
		<!--[endif]-->
		<title></title>
	</head>
	<body>
		<?php $this->load->view('header')?>
		<div class="content">
			<div class="news_list" style="width: 750px;float: left;">
				<span class="news_list_span">首页&nbsp;><a><?=$category_name?></a></span>
				<img src="<?=base_url("templates/default")?>/img/icon11.jpg" style="margin-bottom: 10px;" />
				<div class="news_content">
					<h2><?=$db["title"]?></h2>
					<div>
						<span style="float: left;font-size: 10px;width: 500px;color: gray;">来源：党委办公室/摄影：张三/2016-10-26/点击量：6666</span>
						<span style="float: right;font-size: 10px;color: gray;margin-right: 40px;">分享到：
							<a href="#"><img src="<?=base_url("templates/default")?>/img/logo_08.jpg"/></a>
							<a href="#"><img src="<?=base_url("templates/default")?>/img/logo_06.jpg"/></a>
							<a href="#"><img src="<?=base_url("templates/default")?>/img/logo_10.jpg"/></a>
						</span>
					</div>
					<hr style="width: 727px;margin-right: 50px;margin-bottom: 20px;color: gray;" />
					<div class="news_pic">
						<?php
							if(!empty($db["focus"])){
								echo '<img style="width:700px" src="'.base_url("attachments")."".$db["focus"].'" />';
							}
							?>
					</div>
					<div class="news_article">
						<p><?=$db["content"]?></p>
					</div>
					<br />
					<div class="news_extra">
						<span style="column-count: ;" ">附件下载：</span>
						<br />
						1.<a href="# ">中南大学教职工开办经营实体和任（兼）职取薪情况摸底表</a>
						<br />
						2.<a href="# ">教职工开办经营实体和任（兼）职取薪情况汇总表</a>
					</div>
					<br />
					<div class="pre_next ">
						上一篇：<a href="# ">转发《湖南省科学技术厅&nbsp;湖南省财政厅关于申报2017年度湖南省自然科学基金项目的通知》</a>
						<br />
						下一篇：<a href="# ">重要通知</a>
					</div>
				</div>
				
				
			</div>
			
			<aside class="aside" style="width: 250px;height: 800px;float: right;">
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<h1>快速导航</h1>
				<ul class="aside_nav">
					<li>
						<a href="<?=base_url("category/?id=10")?>"><img src="<?=base_url("templates/default")?>/img/icon3.jpg" />中心简介</a>
					</li>
					<hr />
					<li>
						<a href="<?=base_url("category/?id=12")?>"><img src="<?=base_url("templates/default")?>/img/icon3.jpg" />中心要闻</a>
					</li>
					<hr />
					<li>
						<a href="<?=base_url("category/?id=13")?>"><img src="<?=base_url("templates/default")?>/img/icon3.jpg" />行业动态</a>
					</li>
					<hr />
					<li>
						<a href="#"><img src="<?=base_url("templates/default")?>/img/icon3.jpg" />科研成果</a>
					</li>
					<hr />
					<li>
						<a href="<?=base_url("category/?id=24")?>"><img src="<?=base_url("templates/default")?>/img/icon3.jpg" />科普文章</a>
					</li>
				</ul>
				<div class="list_tongzhigonggao">
					<h2>通知公告</h2>
					<?php
						if(sizeof($tongzhi)!=0){
						?>
					<p>
						<a href="<?=base_url("content?id=".$tongzhi[0]["id"]."&category=".$tongzhi[0]["category_name"])?>"><?=mb_substr($tongzhi[0]["title"],0,30,'utf-8')?></a>
					</p>
					<p><span><?=date("Y-m-d",$tongzhi[0]["create_time"])?></span></p>
					<p><?=mb_substr($tongzhi[0]["content"],0,50,'utf-8')?></p>
					<?php
					}else{
						?>
					<p>
						<a href="#">"暂无通知"</a>
					</p>
					<p><span></span></p>
					<p></p>
						
					<?php
					}
						?>
				</div>

				<h2>中心新闻</h2>
				<div class="list_center_news">
					<?php
						$tmpCode="";
						if(!empty($center_new[0]["focus"])){
							$tmpCode.='<img id="list_center_news_focus" src="'.base_url("attachments").$center_new[0]["focus"].'" />';
						}
						echo $tmpCode;
					?>
					
					<p>
						<?php
							if(sizeof($center_new)!=0){
							?>
							<a href="<?=base_url("content?id=".$center_new[0]["id"]."&category=".$center_new[0]["category_name"])?>"><?=(mb_substr($center_new[0]["content"],0,12,'utf-8')."...")?></a>
							<?php
							}else{
								?>
								<a>暂无新闻</a>
							<?php
							}
								?>
					</p>
				</div>
			</aside>
			<div class="clear "></div>
		</div>
		<?php $this->load->view('footer')?>
	</body>
</html>